//package com.wst.system.config.sharding.config;
//
//import io.shardingsphere.api.algorithm.sharding.PreciseShardingValue;
//import io.shardingsphere.api.algorithm.sharding.standard.PreciseShardingAlgorithm;
//
//import java.text.SimpleDateFormat;
//import java.util.Collection;
//import java.util.Date;
//
///**
// * @Classname SnowFlakeTimeShard
// * @Description TODO
// * @Date 2023/2/23 17:01
// * @Created by XiongXiong
// * @Author: X.I.O
// */
//public class SnowFlakeTimeShard implements PreciseShardingAlgorithm<String> {
//
//    @Override
//    public String doSharding(Collection<String> collection, PreciseShardingValue<String> preciseShardingValue) {
//        String time = preciseShardingValue.getValue();
//        return "log_"+time;
//    }
//}
